3.649 \(\int \frac {1}{x (a+c x^4)} \, dx\)

Optimal. Leaf size=22 \[ \frac {\log (x)}{a}-\frac {\log \left (a+c x^4\right )}{4 a} \]

[Out]

ln(x)/a-1/4*ln(c*x^4+a)/a

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {266, 36, 29, 31} \[ \frac {\log (x)}{a}-\frac {\log \left (a+c x^4\right )}{4 a} \]

Antiderivative was successfully verified.

[In]

Int[1/(x*(a + c*x^4)),x]

[Out]

Log[x]/a - Log[a + c*x^4]/(4*a)

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {1}{x \left (a+c x^4\right )} \, dx &=\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{x (a+c x)} \, dx,x,x^4\right )\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,x^4\right )}{4 a}-\frac {c \operatorname {Subst}\left (\int \frac {1}{a+c x} \, dx,x,x^4\right )}{4 a}\\ &=\frac {\log (x)}{a}-\frac {\log \left (a+c x^4\right )}{4 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 22, normalized size = 1.00 \[ \frac {\log (x)}{a}-\frac {\log \left (a+c x^4\right )}{4 a} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x*(a + c*x^4)),x]

[Out]

Log[x]/a - Log[a + c*x^4]/(4*a)

________________________________________________________________________________________

fricas [A]  time = 0.52, size = 18, normalized size = 0.82 \[ -\frac {\log \left (c x^{4} + a\right ) - 4 \, \log \relax (x)}{4 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(c*x^4+a),x, algorithm="fricas")

[Out]

-1/4*(log(c*x^4 + a) - 4*log(x))/a

________________________________________________________________________________________

giac [A]  time = 0.16, size = 24, normalized size = 1.09 \[ \frac {\log \left (x^{4}\right )}{4 \, a} - \frac {\log \left ({\left | c x^{4} + a \right |}\right )}{4 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(c*x^4+a),x, algorithm="giac")

[Out]

1/4*log(x^4)/a - 1/4*log(abs(c*x^4 + a))/a

________________________________________________________________________________________

maple [A]  time = 0.01, size = 21, normalized size = 0.95 \[ \frac {\ln \relax (x )}{a}-\frac {\ln \left (c \,x^{4}+a \right )}{4 a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/(c*x^4+a),x)

[Out]

1/a*ln(x)-1/4*ln(c*x^4+a)/a

________________________________________________________________________________________

maxima [A]  time = 1.29, size = 23, normalized size = 1.05 \[ -\frac {\log \left (c x^{4} + a\right )}{4 \, a} + \frac {\log \left (x^{4}\right )}{4 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(c*x^4+a),x, algorithm="maxima")

[Out]

-1/4*log(c*x^4 + a)/a + 1/4*log(x^4)/a

________________________________________________________________________________________

mupad [B]  time = 1.00, size = 18, normalized size = 0.82 \[ -\frac {\ln \left (c\,x^4+a\right )-4\,\ln \relax (x)}{4\,a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(a + c*x^4)),x)

[Out]

-(log(a + c*x^4) - 4*log(x))/(4*a)

________________________________________________________________________________________

sympy [A]  time = 0.61, size = 15, normalized size = 0.68 \[ \frac {\log {\relax (x )}}{a} - \frac {\log {\left (\frac {a}{c} + x^{4} \right )}}{4 a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(c*x**4+a),x)

[Out]

log(x)/a - log(a/c + x**4)/(4*a)

________________________________________________________________________________________